package cn.ss.exam2302.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

// 成绩表
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("t_score")
public class Score implements Serializable {
    @TableId
    private String scId; // ID
    private Integer scPaId; // 关联的试卷ID
    private Integer scUsrId; // 关联的学生ID
    private Integer scMark; // 分数
    private Date scCreatedate; // 创建日期
    private Date scUpdatedate; // 更新日期
    @TableField(exist = false)
    private Paper paper;
}
